SendbirdUIKit

open class SendbirdUIKit

Sendbird UIKit Main Class.

Types

Link copied to clipboard
enum LogLevel
UIKit log level.
Link copied to clipboard
enum ThemeMode
UIKit theme mode.

Functions

Link copied to clipboard
open fun authenticateFeed(@Nullable handler: AuthenticationHandler)
Authenticate to Sendbird with given UserInfo.
Link copied to clipboard
open fun connect(@Nullable handler: ConnectHandler)
Connects to Sendbird with given UserInfo.
Link copied to clipboard
open fun disconnect(@Nullable handler: DisconnectHandler)
Disconnects from SendbirdChat.
Link copied to clipboard
open fun getReplyType(): ReplyType
Returns ReplyType, which is how replies are displayed in the message list.
Link copied to clipboard
open fun getThreadReplySelectType(): ThreadReplySelectType
Returns ThreadReplySelectType, which determines where to go when reply is selected.
Link copied to clipboard
open fun init(@NonNull adapter: SendbirdUIKitAdapter, @NonNull context: Context)
Initializes Sendbird with given app ID.
Link copied to clipboard
open fun initFromForeground(@NonNull adapter: SendbirdUIKitAdapter, @NonNull context: Context)
Initializes Sendbird from foreground with given app ID.
Link copied to clipboard
open fun isDarkMode(): Boolean
Determines whether the theme mode is Dark.
Link copied to clipboard
open fun isUsingChannelListMessageReceiptStatus(): Boolean
Returns set value whether the states read-receipt and delivery-receipt are used on the channel list screen.
Link copied to clipboard
open fun isUsingChannelListTypingIndicators(): Boolean
Returns set value whether the typing indicator is used on the channel list screen.
Link copied to clipboard
open fun isUsingUserIdForNickname(): Boolean
Returns set value whether a nickname uses a user ID when there is no user nickname based on the user ID.
Link copied to clipboard
open fun isUsingUserMention(): Boolean
Returns set value whether the user mention is used on the channel screen.
Link copied to clipboard
open fun isUsingVoiceMessage(): Boolean
Returns set value whether the voice message is used on the channel screen and message thread screen.
Link copied to clipboard
open fun runOnUIThread(@NonNull runnable: Runnable)
Context switching is performed to the main thread.
Link copied to clipboard
open fun setLogLevel(@NonNull level: SendbirdUIKit.LogLevel)
Link copied to clipboard
open fun setMentionConfig(@NonNull config: UserMentionConfig)
Sets the user mention configuration.
Link copied to clipboard
open fun setReplyType(@NonNull replyType: ReplyType)
Sets ReplyType, which is how replies are displayed in the message list.
Link copied to clipboard
open fun setThreadReplySelectType(@NonNull threadReplySelectType: ThreadReplySelectType)
Sets ThreadReplySelectType, which is how replies are displayed in the message list.
Link copied to clipboard
open fun setUIKitFragmentFactory(@NonNull factory: UIKitFragmentFactory)
Sets the factory that creates fragments generated by UIKit's basic activities.
Link copied to clipboard
open fun setUseChannelListMessageReceiptStatus(useChannelListMessageReceiptStatus: Boolean)
Sets whether the states read-receipt and delivery-receipt are used on the channel list screen.
Link copied to clipboard
open fun setUseChannelListTypingIndicators(useChannelListTypingIndicators: Boolean)
Sets whether the typing indicator is used on the channel list screen.
Link copied to clipboard
open fun setUseDefaultUserProfile(useDefaultUserProfile: Boolean)
Sets whether the user profile uses.
Link copied to clipboard
open fun setUseImageCompression(useCompression: Boolean)
Sets whether the image file compress when trying to send image file message.
Link copied to clipboard
open fun setUseUserIdForNickname(useUserIdForNickname: Boolean)
Sets whether a nickname uses a user ID when there is no user nickname based on the user ID.
Link copied to clipboard
open fun setUseUserMention(useMention: Boolean)
Sets whether the user mention is used on the channel screen.
Link copied to clipboard
open fun setUseVoiceMessage(useVoiceMessage: Boolean)
Sets whether the voice message is used on the channel screen and message thread screen.
Link copied to clipboard
open fun shouldUseDefaultUserProfile(): Boolean
Returns set value whether the user profile uses.
Link copied to clipboard
open fun shouldUseImageCompression(): Boolean
Returns the value whether the sending image file will be compressing.
Link copied to clipboard
open fun startChatWithAiBot(    @NonNull context: Context,     @NonNull botId: String,     isDistinct: Boolean,     @Nullable handler: CompletionHandler)
Initiates a group channel with the provided bot ID.
Link copied to clipboard
open fun updateUserInfo(@NonNull params: UserUpdateParams, @Nullable handler: CompletionHandler)
Updates current UserInfo.

Properties

Link copied to clipboard
open val adapter: SendbirdUIKitAdapter
Link copied to clipboard
open var compressQuality: Int
Link copied to clipboard
open var customParamsHandler: CustomParamsHandler
Link copied to clipboard
Link copied to clipboard
open var defaultThemeMode: SendbirdUIKit.ThemeMode
Link copied to clipboard
open val fragmentFactory: UIKitFragmentFactory
Link copied to clipboard
open var resizingSize: Pair<Integer, Integer>
Link copied to clipboard
open val userMentionConfig: UserMentionConfig
Link copied to clipboard
open var voiceRecorderConfig: VoiceRecorderConfig